package com.zoe.vhr.mapper;

import com.zoe.vhr.model.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author Zoe.Zhang
 * @Date: 2021/08/08
 * @Description $description
 */

public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    List<Employee> listAllEmp(Employee employee);

    String getMaxWorkId();

    int saveEmpByExcel(@Param("emps") List<Employee> employeeList);

    int deleteBatchEmpByIds(@Param("empIds") Integer[] empIds);

    Employee selectEmpById(Integer id);
}